package com.hzw.entity;

import com.hzw.common.MapperGenerator;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;





@Data
@Entity
@Table ( name ="reserve" )
public class Reserve {
  private static final long serialVersionUID = 1L;

  @Column(name = "id" )
  @Id
  private String id;

  @Column(name = "room_type" )
  private String roomType;

  @Column(name = "table_num" )
  private String tableNum;

  @Column(name = "user_id" )
  private String userId;

  @Column(name = "reserve_time" )
  private String reserveTime;

  @Column(name = "real_name" )
  private String realName;

  @Column(name = "phone" )
  private String phone;

  @Column(name = "create_time" )
  private String createTime;

  @Column(name = "status" )
  private Integer status;


  public Reserve () {
  }

  public static void main(String[] args) {
    System.out.println(MapperGenerator.genMapper(Reserve.class));
  }

}
